package com.gk.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.study.Vo.CourseTeacherVO;
import com.gk.study.entity.Course;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    // 自定义查询方法（如需）
    List<CourseTeacherVO> selectTeacherCourses(@Param("teacherId") Long teacherId, @Param("status") String status);

    List<Long> selectStudentIdsByCourseId(@Param("courseId") Long courseId);
}